package com.hualan.mapper;

import com.hualan.pojo.ConsultantLevel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 洪多鑫
* @description 针对表【consultant_level】的数据库操作Mapper
* @createDate 2025-04-29 19:58:35
* @Entity com.hualan.pojo.ConsultantLevel
*/
@Mapper
public interface ConsultantLevelMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ConsultantLevel record);

    int insertSelective(ConsultantLevel record);

    ConsultantLevel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConsultantLevel record);

    int updateByPrimaryKey(@Param("id") Integer id,@Param("levelName") String levelName);

    List<ConsultantLevel> selectLevel(String levelName);

    int deleteBatch(List<Integer> ids);
    List<ConsultantLevel> findAll();
}
